import { Result, Button } from "antd";
import React from "react";
import {

    Link
  } from "react-router-dom";

export default function Custom404() {
  return (

      <Result
        status="404"
        title="404"
        subTitle="您访问的页面不存在."
        extra={<Link to="/"><Button type="primary">返回首页</Button></Link>}
      />
 
  );
}
